/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sales.hancadpo.client.presenter.values;

import br.com.sales.hancadpo.client.presenter.HanCadPOPresenter;
import com.google.inject.Inject;

/**
 *
 * @author v
 */
public class ControlValues {

    @Inject
    public ControlValues() {
    }

    public void clearFields(HanCadPOPresenter.Display container) {
        container.getCountMaxStockEdit().setValue(null);
        container.getCountMinStockEdit().setValue(null);
        container.getCountStockEdit().setValue(null);
        container.getDateEdit().setValue(null);
        container.getDescribeEdit().setValue(null);
        container.getDescribeProductEdit().setValue(null);
        container.getIsStockChec().setValue(null);
        container.getProfitMarginEdit().setValue(null);
        container.getValueBuyEdit().setValue(null);
        container.getValuePromotionalEdit().setValue(null);
        container.getValueUnitEdit().setValue(null);
        container.getProviderEdit().setValue(null);
    }
}
